#ifndef DIALOG_H
#define DIALOG_H

#include "abstractpage.h"

namespace Ui {
class LoginPage;
}

class LoginPage : public AbstractPage {
  Q_OBJECT

public:
  explicit LoginPage(QWidget *parent = 0);
  virtual ~LoginPage();

private slots:
  void on_pushButton_clicked();

  void on_pushButton_2_clicked();

  void on_pushButton_3_clicked();

private:
  bool checkInput();
  void nextStep();

private:
  Ui::LoginPage *ui;

public:
  void notify(const QJsonObject &obj);
};

#endif // DIALOG_H
